package com.briup.mybatis01code.entity;

import lombok.*;
import org.apache.ibatis.type.Alias;


/**
 * @Data=@Getter+@Setter+@ToString+@EqualsAndHashCode+@RequiredArgsConstructor
 */
@Data
//    @Getter
//    @Setter
//    @ToString
//    @EqualsAndHashCode
//    @RequiredArgsConstructor
    //全参构造器
    @AllArgsConstructor
//    无参构造器
    @NoArgsConstructor
@Alias("u")
public class User {
    private Integer id;
    private String name;
    private Integer age;
    private Integer gender;
    private String phone;
    private String  tel;

}
